//
//  GYWelcomeCollectionViewCell.m
//  GoodLuck
//
//  Created by apple on 2018/4/20.
//  Copyright © 2018年 yunjiazhineng. All rights reserved.
//

#import "GYWelcomeCollectionViewCell.h"

@interface GYWelcomeCollectionViewCell ()
@property (weak, nonatomic) IBOutlet UIButton *sunmitBtu;

@end
@implementation GYWelcomeCollectionViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.sunmitBtu.layer.cornerRadius = 5;
}

- (void)setShow:(BOOL)show {
    _show = show;
    self.sunmitBtu.hidden = show;
}

- (IBAction)onClick:(UIButton *)sender {
    [[NSNotificationCenter defaultCenter]postNotificationName:@"changedViewController" object:nil];
}

@end
